import * as React from 'react';
import { ViewState } from '@opensumi/ide-core-browser';
import { Button } from '@opensumi/ide-components';
import * as styles from './lowcode.module.less';


export default function LowcodeView({
    viewState,
}: React.PropsWithChildren<{ viewState: ViewState }>) {
    console.log('viewState', viewState);

    return (
        <div className={styles.lowcodeView}>
            <div style={{ padding: '10px' }}>
            点击按钮创建项目或者创建页面
            <Button className={styles.button} type='primary' icon='share'>创建项目</Button>
            <Button className={styles.button} type='primary' icon='share'>创建页面</Button>
            </div>
        </div>
    );
}
